package com.evan.designpatterns.observer.refactor.listener;

import com.evan.designpatterns.observer.refactor.event.AllTeacherEvent;
import com.google.common.eventbus.Subscribe;

/**
 * @author :liujiapeng01
 * @date :2019-03-19 17:04
 **/
public class AllTeacher {

    @Subscribe
    public void subscribeAll(AllTeacherEvent event) {
        event.publish();
    }
}
